#ifndef FILTER_H
#define FILTER_H

#include "data.h"
#include "point.h"
#include <iostream>

class Filter{
	public:
		Filter();
		Filter(Data *);
		~Filter();

		Data *getData();
        Data *padding(int, int = -1, Data * = NULL, int = -1, int = -1);

    protected:
        unsigned char normalize(double, double, double, double, double);
        double normalize2(double, double, double, double, double);
//        double distance(int, int, int, int);
        Data *cropping(int, int = -1, Data * = NULL, int = -1, int = -1);

        Data *data;
};

std::string intToStr(int);
std::string doubleToStr(double);

#endif
